var tms, tps, bjtps, xxjss, nums, xpzcss, zdys, csm, csrs; //分享时的参数
var d = getApp();
var jtggzt = 0;
Page({
    data: {
        text: null,
        hidden1: false,
        hidden2: true
    },
    onLoad: function (m) {
        var that = this;
        that.setData({
            text: d.globalData.fwbjxtext
        })
        tms = m.tms, tps = m.tps, bjtps = m.bjtps, xxjss = m.xxjss, nums = m.nums, xpzcss = m.xpzcss, zdys = m.zdys, csm = m.csm, csrs = m.csrs;

    },
    onUnload: function () {
        d.globalData.fwbjxtext = null;
    },
    onShareAppMessage: function () {
        return {
            title: "我完成了“" + tms + "”你也来评测一下吧！",
            path: "/pages/main/main?tm=" + tms + "&tp=" + tps + "&bjtp=" + bjtps + "&xxjs=" + xxjss + "&num=" + nums + "&xpzcs=" + xpzcss + "&zdy=" + zdys + "&csrs=" + csrs,
        };
    },
    share: function () { //获取测试内容
        jtggzt = 0;
        var e = this;
        e.setData({
            hidden1: true,
            hidden2: false
        })
    }
})